package io.github.smfdrummer.medal_app_desktop.ui.utils.strategy

import io.github.smfdrummer.utils.strategy.buildStrategy
import io.github.smfdrummer.utils.strategy.extensions.V303

fun 碎片挑战() = buildStrategy {
    version = 1
    description = "碎片挑战仙人掌"

    V303(10608)

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "a": "2",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V798"

        parse(
            """
            {
              "i": "10502",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "a": "2",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V798"

        parse(
            """
            {
              "i": "10503",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10501",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "a": "2",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V798"

        parse(
            """
            {
              "i": "10501",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }


    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "0",
              "ii": "10502",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }

    packet {
        i = "V299"

        parse(
            """
            {
              "p": "1",
              "ad": "1",
              "ii": "10503",
              "ol": {
                "1193": 10,
                "1123": 10,
                "1159": 10,
                "1161": 10,
                "111104": 10,
                "111123": 10,
                "1114": 10,
                "111125": 10,
                "1108": 10,
                "1140": 10,
                "1160": 10,
                "1180": 10,
                "111118": 10,
                "111138": 10,
                "111126": 10,
                "111113": 10,
                "1175": 10,
                "1168": 10,
                "1127": 10,
                "1119": 10,
                "1188": 10,
                "111128": 10,
                "1137": 10,
                "1185": 10,
                "1176": 10,
                "1107": 10,
                "1120": 10,
                "1122": 10,
                "1124": 10,
                "1128": 10,
                "1129": 10,
                "1130": 10,
                "1195": 10,
                "1182": 10,
                "1184": 10,
                "1192": 10,
                "1101": 10,
                "1103": 10,
                "1104": 10,
                "1105": 10,
                "1106": 10,
                "1189": 10,
                "111137": 10,
                "1135": 10,
                "1149": 10,
                "111110": 10,
                "1111": 10
              },
              "oi": {
                "1193": 10,
                "11129": 10
              },
              "a": "1",
              "pi": "{{pi}}",
              "sk": "{{sk}}",
              "ui": "{{ui}}"
            }
        """.trimIndent()
        )
    }
}